package com.aaa.qy127.entity;

public class Role {
    private Integer rid;
    private String rname;
    private String memo;
    private Integer status;
    private Integer page;
    private Integer limit;

    public Role() {
    }

    public Role(Integer rid, String rname, String memo, Integer status) {
        this.rid = rid;
        this.rname = rname;
        this.memo = memo;
        this.status = status;
    }

    public Role(Integer rid, String rname, String memo, Integer status, Integer page, Integer limit) {
        this.rid = rid;
        this.rname = rname;
        this.memo = memo;
        this.status = status;
        this.page = page;
        this.limit = limit;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", rname='" + rname + '\'' +
                ", memo='" + memo + '\'' +
                ", status=" + status +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
